#ifndef CONTROLLER_H
#define CONTROLLER_H

/** Polls the input, for now the keyboard. Now quits on escape.
 */

struct MovementMap{
	bool jump;
	bool left;
	bool right;
	bool reset;
};

class Controller {
	private: 
		MovementMap m_keyMap;
	public:

		Controller();
		~Controller();
		/** polls the keyboard for escape and quit and quits
		 * may be extended to handle other input tot manipulate the scene
		 */
		bool poll(); // returns false is program should end

		const MovementMap& getKeyMap() { return m_keyMap; }
};




#endif

